# 将应用停止
#stop.sh
#!/bin/bash
echo "Stopping ling-cloud-register Application"
pid=`ps -ef | grep ling-cloud-register | grep -v grep | awk '{print $2}'`
echo $pic
if [ -n "$pid" ]
then
   kill -9 $pid
fi
echo "Stopping ling-cloud-config Application"
pid=`ps -ef | grep ling-cloud-config | grep -v grep | awk '{print $2}'`
echo $pic
if [ -n "$pid" ]
then
   kill -9 $pid
fi
echo "end"